package com.kayt.cyberBar.statistics.entity.po;

import com.kayt.cyberBar.common.base.BaseEntity;
import com.kayt.cyberBar.common.base.BaseVO;

import javax.persistence.*;
import java.util.Date;

/**
 * Description
 *
 * @author Kevin
 * @since 12/29/2017 15:13
 */
@Entity
@Table(name="b_statistics_cyber_sale_type")
@NamedQuery(name="BStatisticsCyberSalesType.findAll", query="SELECT b FROM BStatisticsCyberSalesType b")
public class BStatisticsCyberSalesType extends BaseEntity {
    private Long id;
    private String itemType;
    private String itemTypeName;
    private Integer itemCount;
    private String itemPrice;
    private Date createTime;
    private Date statisticsTime;

    private String cyberCode;
    private String itemCode;
    private String typeCode;
    private String typeName;

    @Column(name = "d_cyber_code")
    public String getCyberCode() {
        return cyberCode;
    }

    public void setCyberCode(String cyberCode) {
        this.cyberCode = cyberCode;
    }

    @Column(name = "d_item_code")
    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }
    @Column(name = "d_type_code")
    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }
    @Column(name = "d_type_name")
    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name = "d_id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    @Column(name = "d_item_type")
    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }
    @Column(name = "d_item_type_name")
    public String getItemTypeName() {
        return itemTypeName;
    }

    public void setItemTypeName(String itemTypeName) {
        this.itemTypeName = itemTypeName;
    }
    @Column(name = "d_item_count")
    public Integer getItemCount() {
        return itemCount;
    }

    public void setItemCount(Integer itemCount) {
        this.itemCount = itemCount;
    }
    @Column(name = "d_item_price")
    public String getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(String itemPrice) {
        this.itemPrice = itemPrice;
    }

    @Column(name = "d_create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    @Column(name = "d_statistics_time")
    public Date getStatisticsTime() {
        return statisticsTime;
    }

    public void setStatisticsTime(Date statisticsTime) {
        this.statisticsTime = statisticsTime;
    }
}
